package com.gdk.ksoft.data.entry.tables;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.NotNull;
import com.lidroid.xutils.db.annotation.Table;
import com.lidroid.xutils.db.annotation.Unique;

/**
 * Created by Mrper on 2014/12/26.
 * 买赠本品促销表
 */
@Table(name="saleself")
public class SaleBuySelfTable {

    @NotNull
    @Unique
    @Id(column = "sid")
    public int sid;

    /**
     * 促销ID
     */
    @Column(column = "id")
    public int id;

    /**
     * 单据号
     */
    @Column(column = "djh")
    public String djh;

    /**
     * 主题名称
     */
    @Column(column = "zt")
    public String zt;

    /**
     * 限量（最小单位）
     */
    @Column(column = "xl")
    public int xl;

    /**
     * 限购量（最小单位）
     */
    @Column(column = "xg")
    public int xg;

    /**
     * 起买量
     */
    @Column(column = "qml")
    public int qml;

    /**
     * 换算关系
     */
    @Column(column = "hsgx")
    public int hsgx;

}
